﻿
namespace GianosNET.Common.ClientUtils
{
    /// <summary>
    /// This class will act as a custom context in the client side to hold
    /// the context information.
    /// </summary>
    public class ClientContext
    {
        private static string _userId;
        private static string _token;
        private static bool _isAuhtenticated;

        public static string UserId
        {
            get
            {
                return _userId;
            }
            set
            {
                _userId = value;
            }
        }

        public static string Token
        {
            get
            {
                return _token;
            }
            set
            {
                _token = value;
            }
        }

        public static bool IsAuthenticated
        {
            get
            {
                return _isAuhtenticated;
            }
            set
            {
                _isAuhtenticated = value;
            }
        }
    }
}
